package cn.mily.user.domain;

import cn.mily.basics.domain.BasicDomain;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class User extends BasicDomain {
    /*用户名*/
    private String username;
    /*用户邮箱*/
    private String email;
    /*用户手机号*/
    private String phone;
    /*用户盐值*/
    private String salt;
    /*类型  1：普通用户 0：员工*/
    private Integer type = 1;
    /*用户密码*/
    private String password;
    /*用户状态*/
    private Integer state;
    /*用户年龄*/
    private Integer age;
    /*创建时间*/
    private Date createtime;
    /*用户头像*/
    private String headImg;
    /*登录信息*/
    private LoginInfo logininfo_id;
}
